package cn.iocoder.yudao.module.infra.controller.admin.codeincrement.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - code自增号 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CodeIncrementRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9026")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "key表名或者业务名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("key表名或者业务名")
    private String bizKey;

    @Schema(description = "自增的数字", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("自增的数字")
    private Integer inrValue;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    @ExcelProperty("更新人")
    private String updator;

}